$(function () {
    init();

    function init() {
        getsitenav();
    }

    function getsitenav() {
        $.ajax({
            type: "get",
            url: "http://193.112.55.79:9090/api/getsitenav",
            success: function (result) {
                // console.log(result)
                let data = result.result;
                // console.log(data)
                let html = template("listTpl", {
                    arr: data
                });
                $(".mall_nav").html(html);
            }
        });
    }
})